const es = require('event-stream')
const fs = require('fs')
es.merge([
  fs.createReadStream('text1.txt'),
  fs.createReadStream('text2.txt'),
  fs.createReadStream('text3.txt')
]).pipe(fs.createWriteStream('out.log.txt'))
